/**
 * 
 */
package com.sj.szxy.genetic.algorithm.courseschedule;

/**
 * @author Yi Ping
 * @date 2018年4月3日 下午9:41:08 
 * @since 1.0.0
 *
 */
public class Class {
	private final int classId;
	private final int groupId;
	private final int moduleId;
	private int professorId;
	private int timeslotId;
	private int roomId;
	
	/**
	 * @param classId
	 * @param groupId
	 * @param moduleId
	 */
	public Class(int classId, int groupId, int moduleId) {
		super();
		this.classId = classId;
		this.groupId = groupId;
		this.moduleId = moduleId;
	}
	
	/**
	 * 设置上课的教授
	 * @param professorId
	 */
	public void addProfessor(int professorId) {
		this.professorId = professorId;
	}
	
	public void addTimeslot(int timeslotId) {
		this.timeslotId = timeslotId;
	}
	
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	
	public int getClassId() {
		return classId;
	}

	public int getGroupId() {
		return groupId;
	}

	public int getModuleId() {
		return moduleId;
	}

	public int getProfessorId() {
		return professorId;
	}

	public int getTimeslotId() {
		return timeslotId;
	}

	public int getRoomId() {
		return roomId;
	}
	
	
	
}
